﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AEot
{
    public partial class uploadForm : Form
    {
        static uploadForm instance;
        public static uploadForm Instance
        {
            get
            {
                return instance;
            }
            set
            {
                instance = value;
            }
        }
        public uploadForm()
        {
            InitializeComponent();
        }

        private void uploadForm_Load(object sender, EventArgs e)
        {
            
            progressBar1.Minimum = 0;
            progressBar1.Maximum = 10;
            progressBar1.MarqueeAnimationSpeed = 75;
            //timer1.Start();
        }

        //private void timer1_Tick(object sender, EventArgs e)
        //{
        //    this.Hide();
        //    timer1.Stop();
        //    uploadForm.Dispose(true);
        //}

        //protected override void Dispose(bool disposing)
        //{
        //    if (disposing&&components!=null)
        //    {
        //        components.Dispose();
        //    }
        //    base.Dispose(disposing);
        //}
        public static void ShowSplashScreen()
        {
            instance = new uploadForm();
            instance.Show();
        }
    }
}
